home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / iso9660 / mail / pine / imap.arc / text0125.txt < prev    next >
Encoding:
Text File  |  1993-07-02  |  1.6 KB  |  43 lines

  1. In message <Mailstrom.1.03.32850.26357.treister@forsythe.stanford.edu>, 
  2.  Adam Treister <treister@forsythe.stanford.edu> writes:
  3. >I'm in a situation where we have 5-6K users of a mainframe database
  4. >oriented mail system, with amazing filing and retrieval capabilities and a
  5. >tty interface.  We should be able to write an IMAP server for the
  6. >mainframe, and enable access to the archives of messages via a snazzy gui,
  7. >but will need to make homegrown RPC calls to access the indexes, or
  8. >extended capabilities. 
  9. >
  10. >Cant my client test this on connection and say:
  11. >
  12. >if (isConnectedToEMS)
  13. >    IMAPSend("A0001 EMBEDDED ( EMS Expire(4, 30 days) )"
  14. >else
  15. >    IMAPSend("A0001 DELETE 4" )
  16.  
  17. I'd don't really see the need for a reserved "EMBEDDED" word.  Why not
  18. just try something like: IMAPSend("A0001 EMS Expire(4, 30 days)");
  19. Then if EMS isn't supported on the server, you'll just get a "BAD"
  20. response back.
  21.  
  22. >in such a way that the imapd will pass along the embedded command.
  23. >
  24. >Anyway, to come back to the thread, if this is reasonable, couldn't IMSP
  25. >then send:
  26. >
  27. >A0001 EMBEDDED ( IMSP SetACL... )
  28.  
  29. The current implementation of IMSP just relays the SETACL command
  30. as defined in the IMSP spec to the IMAP server.  If the IMAP server
  31. doesn't support it (as none do at present), a "BAD" will be returned
  32. to IMSP, and IMSP then responds with "tag NO ACLs not implementated at
  33. this site" to it's client.
  34.  
  35. In general, this sort of relaying commands through one server to
  36. another should be avoided for efficiency unless there's a really good
  37. reason to do it (e.g. to implement the "l" access right, IMSP has to
  38. know about the ACLs).
  39.  
  40.         - Chris
  41.  
  42.  
  43.